using System;
using UnityEngine;

[Serializable]
public class camerazoom : MonoBehaviour
{
	public Transform target;

	public float MinDistance;

	public float distance;

	public void Start()
	{
		target = GameObject.Find("knight dranzerAI").transform;
	}

	public void Update()
	{
		distance = Vector3.Distance(transform.position, target.position);
	}

	public void Main()
	{
	}
}
